#include <iostream>
using namespace std;

#define PI 3.1415

class Cylinder
{
    private:
        float radius;
        float height;

    public:
        Cylinder(float r,float h){radius = r;height = h;}
        float volume(){float v=PI*radius*radius*height;return v;}
        float area(){float area=PI*radius*radius*2+PI*radius*2*height;return area;}
        ~Cylinder(){}
};

int main()
{
    Cylinder cylinder(5.0, 10.0); // 创建一个半径为5，高度为10的圆柱体
    cout << "Volume: " << cylinder.volume() << endl;
    cout << "Surface Area: " << cylinder.area() << endl;
    cin.get();
    return 0;
}